package com.entity;

/**
 * 用户实体
 */
public class User {
	
    private Integer id;

    private String username;
    
    private String nickname;

    private String password;
    
    private String icon;


	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname == null ? null : nickname.trim();
	}

	public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
	}

}